/*
 * ========================================================
 * Copyright(c) 2014 杭州偶尔科技-版权所有
 * ========================================================
 * 本软件由杭州偶尔科技所有, 未经书面许可, 任何单位和个人不得以
 * 任何形式复制代码的部分或全部, 并以任何形式传播。
 * 公司网址
 * 
 * 			http://www.kkkd.com/
 * 
 * ========================================================
 */
package com.simon.mengkou.data.bean.base;

import com.ouertech.android.agm.lib.base.bean.BaseBean;

/**
 * @author : Zhenshui.Xia
 * @since : 2016/3/28.
 * desc    : 评论
 */
public class Comment extends BaseBean {
    private static final long serialVersionUID = 1L;

    //评论Id
    private String id;
    //发帖人
    private User user;
    //若是回复，显示被回复的那条评论
    private Comment toComment;
    //评论内容
    private String content;
    //发布时间
    private long createAt;
    //用户是否已赞过此评论
    private boolean favered;
    //点赞数
    private int faverNum;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Comment getToComment() {
        return toComment;
    }

    public void setToComment(Comment toComment) {
        this.toComment = toComment;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getCreateAt() {
        return createAt;
    }

    public void setCreateAt(long createAt) {
        this.createAt = createAt;
    }

    public boolean isFavered() {
        return favered;
    }

    public void setFavered(boolean favered) {
        this.favered = favered;
    }

    public int getFaverNum() {
        return faverNum;
    }

    public void setFaverNum(int faverNum) {
        this.faverNum = faverNum;
    }
}
